/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package Clases2;

/**
 *
 * @author luis
 */
public class Dado {
    private int caras = 6;

    /**
     *
     * @return
     */
    public int lanzar(){
        return 1+(int)(Math.random()*caras);
    }
}
